/**
 * runner
 */
package com.whilefor.runner.modules.runner.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.whilefor.runner.common.persistence.Page;
import com.whilefor.runner.common.service.CrudService;
import com.whilefor.runner.modules.runner.entity.RunnerRunner;
import com.whilefor.runner.modules.runner.dao.RunnerRunnerDao;

/**
 * 跑腿兄弟管理Service
 * @author lins
 * @version 2016-04
 */
@Service
@Transactional(readOnly = true)
public class RunnerRunnerService extends CrudService<RunnerRunnerDao, RunnerRunner> {

	public RunnerRunner get(String id) {
		return super.get(id);
	}
	
	public List<RunnerRunner> findList(RunnerRunner runnerRunner) {
		return super.findList(runnerRunner);
	}
	
	public Page<RunnerRunner> findPage(Page<RunnerRunner> page, RunnerRunner runnerRunner) {
		return super.findPage(page, runnerRunner);
	}
	
	@Transactional(readOnly = false)
	public void save(RunnerRunner runnerRunner) {
		super.save(runnerRunner);
	}
	
	@Transactional(readOnly = false)
	public void delete(RunnerRunner runnerRunner) {
		super.delete(runnerRunner);
	}
	
}